var pro_url = "http://localhost:8080";

function enterPress(e) { //传入 event   
	var e = e || window.event;
	if(e.keyCode == 13) {
		document.getElementById("search").click();
	}
}

function parseURL() {
	var url = location.search
	var url = url.split("?")[1];
	var para = url.split("&");
	var len = para.length;
	var res = {};
	var arr = [];
	for(var i = 0; i < len; i++) {
		arr = para[i].split("=");
		res[arr[0]] = arr[1];
	}
	return res;
}